package cmd

import (
	"fmt"
	"time"

	// "github.com/spf13/cobra"
	cobra "hw05/myCobra"
)

var (
	timeCmd = &cobra.Command{
		Use:   "time",
		Short: "get current time",
		Long:  `subcommand which returns current time`,
		Run: func(cmd *cobra.Command, args []string) {
			// Do Stuff Here
			fmt.Println(time.Now())
		},
	}
)
